#include <iostream>
using namespace std;

int main() {
    int x;
    cin >> x;
    int weight;

    if (x < 10) {
        weight = 0;
    } else if (x < 100) {
        int t = x % 10;
        if (t == 0) {
            weight = x - 10;
        } else {
            weight = x - t;
        }
    } else {
        weight = 100;
    }

    cout << "Gong xi nin! Nin de ti zhong yue wei: " << weight << " duo jin";

    return 0;
}    